package com.hhf.feiojjudgeservice.service;

/**
 * @Author hhf
 * @Date 2024/10/28
 * @Description 判题服务:
 * 1. 判题服务接受questionSubmitId,查询问题的输入输出用例,修改判题状态为RUNNING
 * 2. 将判题输入用例及用户提交的代码信息(QuestionSubmitAddRequest)发送给代码沙箱进行运行
 * 3. 将代码沙箱运行后的返回结果(ExecuteCodeResponse)与判题输出用例进行比较,将结果(JudgeInfo)存储至数据库
 */
public interface JudgeService {

    void doJudge(long questionSubmitId);

}
